﻿using TianShu.Domain;
using TianShu.Service.Dtos;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TianShu.Domain.Entities;

namespace TianShu.Service.Contracts.Service.Crud
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="TCreateDto"></typeparam>
    /// <typeparam name="TDetailDto"></typeparam>
    public interface IInsertService<TCreateDto, TDetailDto> : IService
    {
        Task<PageResultDto<TDetailDto>> InsertAsync(TCreateDto dto);
    }

}
